﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.EContract.Dto
{
    /// <summary>
    /// 补充协议请求参数
    /// </summary>
    public class SupplementRequestDto:BaseRequest
    {
        /// <summary>
        /// 旅行社ID
        /// </summary>
        public int OrgId { get; set; }
        /// <summary>
        /// 第三方合同编号
        /// </summary>
        public string contractNumber { get; set; }
        /// <summary>
        /// 补充协议富文本
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 补充协议标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 签署人列表，如果为空则为主合同的签署人
        /// </summary>
        public List<Signatorie> signatories { get; set; }
    }

    /// <summary>
    /// 签署人，如果为空则为主合同的签署人
    /// </summary>
    public class Signatorie
    {
        /// <summary>
        /// 签署人姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 签署人电话
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 签署人证件信息
        /// </summary>
        public IDInfo ID { get; set; }
    }
}
